<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<jsp:include page="../head.jsp">
<jsp:param value="新增客户跟进记录" name="title"/>
</jsp:include>
</head>
<body>
	<div class="container">
		<div class="row">
			<div id="content" class="col-lg-12">
				<div class = "dao">		
					<a class="section" href = "manager">客户跟进</a>
					<i class="right chevron icon divider"></i>
					<a class="section" href = "cust/form">客户管理</a>
					<i class="right chevron icon divider"></i>
					<span class="active section">新增跟进记录</span>							
				</div>
				<div class = "content">
				<form  method="post" class="ui form create-form">
					<div class="two fields">
						<div class="field">
							<input type="hidden" name="custId" value="${id }">
							<input type="hidden" name="empId" value="${emp.empId }">
							<label>姓名</label> 
							<input name="custName" readonly="readonly" type="text" value="${name }"  >
						</div>
						<div class="field">
							<label>跟进方式</label>
							<div class="ui selection dropdown">
								<input name="wayId" type="hidden" value="${param.wayId }">
								<div class="default text">请选择</div>
								<i class="dropdown icon"></i>
								<div class="menu">
									<c:forEach items="${ listWay }" var="way">
										<div class="item" data-value="${ way.way_id }">${ way.way_name }</div>
									</c:forEach>
								</div>
							</div>
						</div>
					</div>
					<div class="field">
						<label>跟进情况</label>
						<textarea rows="" cols="" name="situation" value="${param.situation }"></textarea>
					</div>
			<div class="field">
				<label>咨询师</label>
				<input name="empName" readonly="readonly" type="text" value="${emp.empName }"  >
			</div>
		  <button class="ui button" type="submit">保存</button>
		  <button class="ui button" type="button" onclick="window.location.href='cust/form'">取消</button>
		  <span style="color:red">${ error }</span>
		</form>
	</div>
</div>
</body>
</html>